package com.yanqu.road.entity.activity.washe.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;

@FieldTypeAnnotation(tableName = "t_n_washepvp_scene")
public class WasheSceneConfig {

    @FieldTypeAnnotation(desc = "活动ID", select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "盘面ID")
    private int sceneId; // eWasheSceneType
    @FieldTypeAnnotation(desc = "盘面参数")
    private String param;
    @FieldTypeAnnotation(desc = "玩法名")
    private String sceneName;
    @FieldTypeAnnotation(desc = "玩法描述")
    private String sceneDesc;
    @FieldTypeAnnotation(desc = "是否开启")
    private int isOpen;

    private List<Long> paramList;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getSceneId() {
        return sceneId;
    }

    public void setSceneId(int sceneId) {
        this.sceneId = sceneId;
    }

    public List<Long> getParamList() {
        return paramList;
    }

    public void setParamList(List<Long> paramList) {
        this.paramList = paramList;
    }

    public String getSceneName() {
        return sceneName;
    }

    public void setSceneName(String sceneName) {
        this.sceneName = sceneName;
    }

    public String getSceneDesc() {
        return sceneDesc;
    }

    public void setSceneDesc(String sceneDesc) {
        this.sceneDesc = sceneDesc;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public int getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(int isOpen) {
        this.isOpen = isOpen;
    }

    public boolean isOpen() {
        return this.isOpen == 1;
    }
}
